import http from '@/utils/http/axios'
import { RequestEnum } from '@/enums/httpEnum'

// 通知列表
export function postNoticeList() {
  return http.request(
    {
      url: `/ds/notice/list`,
      method: RequestEnum.POST,
    },
  )
}
// 修改密码
export function submitPassword() {
  return http.request(
    {
      url: `/ds/common/submit`,
      method: RequestEnum.POST,
    },
    {
      successMessageText: '修改密码成功'
    }
  )
}
